.required {
  color: $color-red;
  display: inline-block;
  margin-left: 5px;
  vertical-align: middle;
}

a:focus,
a:hover {
  text-decoration: none!important;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  // background-color: #fff;
  opacity: 1;
}

.form-span {
  // width: 100%;
  min-width: 20px;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  color: #555;
  display: inline-block;
}
.fa-history {
  color: #00c0ef;
  cursor: pointer;
}

.mb-0 {
  margin-bottom: 0px !important;
}

.view-form {
  .form-group {
    margin-bottom: 0px !important;
  }
}

.detail-view {
  &-header {
    &-wrapper {
      margin-bottom: 5px;
    }
    & > .inner {
      position: relative;
      width: 100%;
    }
    &.fixed {
      position: fixed;
      top: 0;
      z-index: 1;
      box-shadow: 0 3px 5px #eee;
      background-color: rgba(0, 0, 0, .5);
      span {
        color: #fff;
      }
    }
    .btn,
    span {
      margin-right: 10px;
    }
  }
}
.modal-header {
  border-bottom-color: #dd4b39;
  background: #dd4b39;
  color: #fff;
}
.modal-content {
  min-width: 800px;
}

.modal-body {
  min-height: 200px;
  max-height: 350px;
  overflow-y: auto;
}

.profile-picture {
  position: relative;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin: 0 auto 18px;
  cursor: pointer;
  &:hover {
    .img-tips {
      visibility: visible;
      border-radius: 50%;
      background-color: rgba(0, 0, 0, 0.5);
      opacity: 1;
      -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
      transform: translateY(0);
    }
  }
  .img-tips {
    position: absolute;
    top: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    line-height: 100%;
    font-size: 12px;
    color: #ccc; //$color-white;
    visibility: hidden;
    opacity: 1;
    @include transition(border-color ease-in-out .3s, box-shadow ease-in-out .3s);
    .tips {
      padding: 14px;
      span {
        display: block;
      }
      &-icon {
        display: inline-block;
        width: 46px;
        height: 46px;
        background-position: center;
        background-repeat: no-repeat;
        background-image: url("../img/icon/icon_pic.png");
      }
    }
  }
  .tips-show {
    visibility: visible;
  }
  img {
    border-radius: 50%;
  }
  form {
    width: 100px!important;
    height: 100px!important;
  }
}

.add-dictionary {
  font-size: 26px;
  display: inline-block;
  line-height: 34px;
}

.n-default .msg-wrap {
  z-index: 0!important;
}

.jconfirm {
  .container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }
  .row {
    margin-right: -15px;
    margin-left: -15px;
  }
  .col-md-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-md-4 {
    width: 33.33333333%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

.attachment_input .n-right .msg-wrap {
  margin-left: 60px!important;
}

#leave_form {
  .box {
    padding: 0 10px;
  }
  table {
    width: 100%;
    td {
      padding: 8px 3px;
    }
    &:first-child {
      // width: 80%;
    }
    .l-3 {
      letter-spacing: 5px;
    }
  }
  .info {
    .v {
      color: #808080;
    }
    .h {
      width: 100px;
    }
  }
  .detail {
    td {
      border: 1px solid #DFDFDF;
    }
    .h {
      width: 120px;
    }
    table {
      td {
        border: none;
      }
    }
  }
  #divKQType {
    label {
      font-weight: normal;
      margin-right: 10px;
    }
  }
}

fieldset {
  padding: 15px 0;
  border: 1px solid #ccc;
  margin-bottom: 20px;
}

.audit-box {
  padding: 5px !important;
  border-top: 0px!important;
  margin-bottom: 0px!important;
  border-radius: 0px!important;
  border-bottom: none; //1px solid #d2d6de!important;
  // &:last-child {
  //   border-bottom: none;
  // }
  .box-header {
    background-color: #eee!important;
    border: 1px solid #ccc;
  }
  .box-body {
    border: 1px solid #ccc;
    border-top: none;
  }
  .box-title {
    color:#38acff!important;
  }
  .box-expand {
    left: 80px !important;
  }
  .btn-box-tool {
    color: #38acff;
  }
  fieldset {
    padding: .35em .625em .75em !important;
    margin: 0 2px 10px 0 !important;
    border: 1px solid #eee !important;
  }
  legend {
    width: auto !important;
    border-bottom: none;
    font-size: 14px;
  }
}

.nav-tabs-custom>.nav-tabs>li.active {
  border-top-color: #dd4b39!important;
  cursor: default!important;
}
.nav-tabs-custom>.nav-tabs>li {
  cursor: pointer!important;
}
